package org.gdtc.storefront.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.gdtc.storefront.entity.Bannerpicture;

@Mapper
public interface BannerpictureMapper {
    int deleteByPrimaryKey(@Param("id") Integer id);

    int insert(Bannerpicture record);

    Bannerpicture selectByPrimaryKey(Integer id);

    List<Bannerpicture> selectAll(@Param("storeid") Integer storeid);

    int updateByPrimaryKey(Bannerpicture record);

    int InsBanner(Bannerpicture bannerpicture);

    int UpdState(@Param("state") Integer state,
                 @Param("id") Integer id);

}